/**
 * <p>Title: Data Capture System</p>
 * <p>Description: 陕西省地税渭南-餐饮业定税系统</p>
 * <p>Copyright: Copyright (c) 2010-2015 Shangxi Local Goverment Tax of Weinan</p>
 * <p>Company: Andy</p>
 */
package com.sxds.wn.dao.biz;

import java.util.List;
import java.util.Map;

import com.sxds.wn.bo.HotelTypeBo;
import com.sxds.wn.bo.HotelTypeDetailBo;
import com.sxds.wn.dao.IbatisBaseDao;
import com.sxds.wn.exception.DataAccessException;

/**
 * Description: <p></p>
 * Content Desc:<p><p>
 * Copy Right of Geong
 * @author Tangtao Email:<a href="mailto:tangtao7481@yahoo.com.cn">tangtao7481@yahoo.com.cn</a>
 * @version 1.0 Create Date:@2010-6-8
 */
public interface CodeDao extends IbatisBaseDao {

	/**
	 * 获取税率基本信息
	 * @param params
	 * @return
	 * @throws DataAccessException
	 */
	public List getCessLevel(Map params) throws DataAccessException;
	
	/**
	 * 获取饭店种类
	 * @param params
	 * @return
	 * @throws DataAccessException
	 */
	public List getHotelType(Map params) throws DataAccessException;
	
	/**
	 * 增加饭店类别，如大饭店，小贩店等
	 * @param bo
	 * @throws DataAccessException
	 */
	public void insertHotelType(HotelTypeBo bo)  throws DataAccessException;
	
	/**
	 * 修改饭店属性类别
	 * @param bo
	 * @throws DataAccessException
	 */
	public void updateHotelType(HotelTypeBo bo)  throws DataAccessException;
	
	/**
	 * 
	 * @param bo
	 * @throws DataAccessException
	 */
	public void deleteHotelType(HotelTypeBo bo) throws DataAccessException;
	
	/**
	 * 通过ID获取数据库中的对象
	 * @param bo
	 * @return
	 * @throws DataAccessException
	 */
	public HotelTypeDetailBo getHotelTypeDetail(HotelTypeDetailBo bo)  throws DataAccessException;
	
	/**
	 * 通过ID获取数据库中的对象
	 * @param identifyID
	 * @return
	 * @throws DataAccessException
	 */
	public HotelTypeDetailBo getHotelTypeDetail(String identifyID)  throws DataAccessException;
	/**
	 * 增加饭店属性详细信息
	 * @param bo
	 * @throws DataAccessException
	 */
	public void insertHotelTypeDetail(HotelTypeDetailBo bo) throws DataAccessException;
	
	/**
	 * 
	 * @param bo
	 * @throws DataAccessException
	 */
	public void updateHotelTypeDetail(HotelTypeDetailBo bo) throws DataAccessException;
	
	/**
	 * 删除饭店属性详细信息
	 * @param bo
	 * @throws DataAccessException
	 */
	public void deleteHoteTypeDetail(HotelTypeDetailBo bo) throws DataAccessException;
	/**
	 * 通过饭店类型获取属性类别
	 * @param params
	 * @throws DataAccessException
	 */
	public List getHotelPropertyType(Map params) throws DataAccessException;
}
